<?php
/**
 * Description: 获取通知列表
 * User: devforma
 * Date: 16/6/1
 * Time: 11:45
 */

require __DIR__ . '/includes/utils.php';
class GetNotifications implements iController {

    /**
     * api请求处理主函数
     * @param array $queryArgs 就是$_REQUEST变量
     * @return array api返回结果，必须含response_code
     */
    public function output($queryArgs) {
        
        return genOutput(1, array('notifications' => getNotiFications($queryArgs)));
    }
}